/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mycompany.chatapp;

/**
 *
 * @author bgorriz
 */
public class ImpSearchProfile extends ImpGenericMessage implements SearchProfile {
  
    
    String from;
    String to;
    int type;
    public ImpSearchProfile(Object Content,String to,String from,int type)
    {
        super(Content, to);
        this.from=from;
        this.to=to;
        this.type=type;
    }
    public ImpSearchProfile(Object Content, String to,String from)
    {
        super(Content, to);
        this.from=from;
        this.to=to;
        
    }
    
    
    
    public void setContent(String tags){   

        super.setContent(tags);
    }
    
    public String getContent(){
        
        return (String) super.getContent();
    }
    public String getFrom(){
        return from;
    }
    public String getTo(){
        return to;
    }
    public void setType (int t){
        type=t;
    }
    public int getType(){
        return type;
    }
}
